<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get current value of the specified document attribute</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.getfont.html">HaruDoc::getFont</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.getpagelayout.html">HaruDoc::getPageLayout</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="harudoc.getinfoattr" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruDoc::getInfoAttr</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDoc::getInfoAttr</span> &mdash; <span class="dc-title">Get current value of the specified document attribute</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harudoc.getinfoattr-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>HaruDoc::getInfoAttr</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$type</code></span>
   )</div>

  <p class="para rdfs-comment">
   Get the current value of the specified document attribute.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harudoc.getinfoattr-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">type</code></em></dt>

     <dd>

      <p class="para">
       The type of the attribute. The following values are available:
       <ul class="simplelist">
        <li class="member">
         <strong><code>HaruDoc::INFO_AUTHOR</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_CREATOR</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_TITLE</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_SUBJECT</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_KEYWORDS</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_CREATION_DATE</code></strong>
        </li>
        <li class="member">
         <strong><code>HaruDoc::INFO_MOD_DATE</code></strong>
        </li>
       </ul>
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harudoc.getinfoattr-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the <span class="type"><a href="language.types.string.html" class="type string">string</a></span> value of the specified document attribute.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harudoc.getinfoattr-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">发生错误时抛出 <a href="class.haruexception.html" class="classname">HaruException</a> 异常。</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-harudoc.getinfoattr-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="harudoc.setinfoattr.html" class="methodname" rel="rdfs-seeAlso">HaruDoc::setInfoAttr()</a> - Set the info attribute of the document</span></li>
    <li class="member"><span class="methodname"><a href="harudoc.setinfodateattr.html" class="methodname" rel="rdfs-seeAlso">HaruDoc::setInfoDateAttr()</a> - Set the datetime info attributes of the document</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.getfont.html">HaruDoc::getFont</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.getpagelayout.html">HaruDoc::getPageLayout</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
